/**
 * @file    If_rtc.h
 * @brief   rtc驱动接口
 * @author  name
 * @version 1.0.1
 * @date    2023-04-22
 * 
 * @copyright Copyright (c) 2023 JBD-Energy Storage Technology Co. LTD
 * 
 * @par 修改日志:
 * <table>
 * <tr><th>Date       <th>Version   <th>Author   <th>Description
 * <tr><td>2023-04-22 <td>1.0.1     <td>Liuwei   <td>首次创建
 * </table>
 */

#ifndef __IF_RTC_H_
#define __IF_RTC_H_

/* file includes -------------------------------------------------------------*/

/* cplusplus -----------------------------------------------------------------*/
#ifdef __cplusplus
extern "C" {
#endif

/* macro/define/typedef ------------------------------------------------------*/
#include "drv_rtc.h"
/* @brief */

/* variables -----------------------------------------------------------------*/

/*******************************************************************************
 * public API List
 ******************************************************************************/
void If_rtc_init(rtc_data_type rtc_init_time);
uint8_t If_rtc_read_time(rtc_data_type *rtc_data);
uint8_t If_rtc_set_time(rtc_data_type set_data);

#ifdef __cplusplus
}
#endif

#endif  /* #ifndef __IF_RTC_H_ */
/********** Copyright (c) 2023 JBD-Energy Storage Technology Co. LTD *********/
